package com.lizemin.beanfactorypostprocessor.entity;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;

import javax.annotation.PostConstruct;

/**
 * @author lzm
 * @date 2025/9/27 10:57
 * @description
 */
@Slf4j
@Data
public class Dog {

    private String name;

    private String color;

    private Integer age;

    public Dog() {
        log.info("dog已经创建了");
    }

    @PostConstruct
    public void init() {
        log.info("dog初始化");
    }

}
